package concretElement;
/***********************************************************************
 * Module:  Disque.java
 * Author:  29004847
 * Purpose: Defines the Class Disque
 ***********************************************************************/

import java.util.*;

import visitor.Visitor;

/** @pdOid 1b6c5aeb-2b85-4906-8cc7-5c49f96d8ad1 */
public class Disque implements Memoire{
	public Disque() {
		super();
		this.capacite = new Integer(0);
		this.id = new String();
		this.puissance = new Integer(0);
	}
	/** @pdOid f08849ab-3598-431f-bc96-3401ec4754c9 */
	private String id;
	/** @pdOid 3cced013-8394-4161-982b-99851ef9fca3 */
	private Integer capacite;
	/** @pdOid 92174003-07c8-4f4a-aeaf-d7a85da66ae5 */
	private Integer puissance;
	@Override
	public void accept(Visitor v) {
		v.visitDisque(this);	
	}
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the capacite
	 */
	public Integer getCapacite() {
		return capacite;
	}
	/**
	 * @param capacite the capacite to set
	 */
	public void setCapacite(Integer capacite) {
		this.capacite = capacite;
	}
	/**
	 * @return the puissance
	 */
	public Integer getPuissance() {
		return puissance;
	}
	/**
	 * @param puissance the puissance to set
	 */
	public void setPuissance(Integer puissance) {
		this.puissance = puissance;
	}

}